<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
abstract class PHPExcel_Writer_Abstract implements PHPExcel_Writer_IWriter
{
    protected $includeCharts = false;
    protected $preCalculateFormulas = true;
    protected $_useDiskCaching = false;
    protected $_diskCachingDirectory = "./";
    public function getIncludeCharts()
    {
        return $this->includeCharts;
    }
    public function setIncludeCharts($pValue = false)
    {
        $this->includeCharts = (bool) $pValue;
        return $this;
    }
    public function getPreCalculateFormulas()
    {
        return $this->preCalculateFormulas;
    }
    public function setPreCalculateFormulas($pValue = true)
    {
        $this->preCalculateFormulas = (bool) $pValue;
        return $this;
    }
    public function getUseDiskCaching()
    {
        return $this->_useDiskCaching;
    }
    public function setUseDiskCaching($pValue = false, $pDirectory = NULL)
    {
        $this->_useDiskCaching = $pValue;
        if($pDirectory !== NULL) {
            if(is_dir($pDirectory)) {
                $this->_diskCachingDirectory = $pDirectory;
            } else {
                throw new PHPExcel_Writer_Exception("Directory does not exist: " . $pDirectory);
            }
        }
        return $this;
    }
    public function getDiskCachingDirectory()
    {
        return $this->_diskCachingDirectory;
    }
}

?>